import { router } from ".."
import { useRoute } from "vue-router"
export const useRouter = () => {

  const goPage = (path: string) => {
    router.push(path)
  }

  return { goPage, useRoute }
}